package com.mooc.lib_find

import com.mooc.lib_common.model.HomeFeedEntity
import com.mooc.lib_find.model.FindListEntity
import com.mooc.lib_find.model.FollowEntity
import com.mooc.lib_network.entity.BaseEntity
import retrofit2.http.GET
import retrofit2.http.Query

interface ApiService {

    @GET("tag/queryTagList")
    suspend fun requestFindList(@Query("offset")offset : Int,
                                @Query("pageCount")pageCount : Int,
                                @Query("tagType")tagType:String,
                                @Query("tagId")tagId:Int,
                                @Query("userId")userId:Int):
            BaseEntity<FindListEntity>
    @GET("tag/toggleTagFollow")
    suspend fun requestFindFollow(@Query("tagId")tagId:Int,
                                  @Query("userId")userId:Int):
            BaseEntity<FollowEntity>

}